package com.example.bidding.mapper;


import com.example.common.Ov.LoanOv;
import com.example.common.base.BaseMapper;
import com.example.common.pojo.Loan;

import java.util.List;

public interface LoanMapper extends BaseMapper<Loan> {
    List<Loan> getLoanByBorrowId(String id);

    List<Loan> getLoanByUserId(Integer userId);

    Loan selectByNo(String orderNo);

    List<Loan> getLoanByBorrowIdAndPaied(Integer borrowId);

    void updateByNoSelective(Loan l);

    List<LoanOv> getLoansByRepayIds(List<Integer> list);
}
